import request from '@/utils/request'

// 融资列表
export function financingList(params) {
  return request({
    url: '/financing/list',
    method: 'GET',
    params: {
      userType: '10',
      ...params,
    }
  })
}
// 融资详情
export function financingDetail(id) {
  return request({
    url: `/financing/get/${id}?userType=10`,
    method: 'GET',
  })
}
// 融资审核
export function financingCheck(id, params) {
  return request({
    url: `/financing/examine/${id}`,
    params: {
      userType: '10',
      ...params,
    },
  })
}
